package org.jeecg.modules.villageCadreAssist.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.modules.system.vo.ExtraData;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: vca_death
 * @Author: jeecg-boot
 * @Date:   2022-03-14
 * @Version: V1.0
 */
@Data
@TableName("vca_death")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="vca_death对象", description="vca_death")
public class VcaDeath extends ExtraData implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private java.lang.Integer id;
	/**residentId*/
	@Excel(name = "residentId", width = 15)
    @ApiModelProperty(value = "residentId")
    private java.lang.Integer residentId;

    //==============================非数据库字段===============================
    @Excel(name = "姓名", width = 15)
    @TableField(exist = false)
    private String residentName;
    @Excel(name = "身份证", width = 15)
    @TableField(exist = false)
    private String idcard;
    @TableField(exist = false)
    private Integer birthday;
    @TableField(exist = false)
    @Excel(name = "年龄", width = 15)
    private Integer year;
    @TableField(exist = false)
    private Integer sex;
    //========================================================================
	/**殡葬方式*/

	@Excel(name = "殡葬方式", width = 15)
    @ApiModelProperty(value = "殡葬方式")
    private java.lang.Integer funeralType;
	/**死亡时间*/
	@Excel(name = "死亡时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "死亡时间")
    private java.util.Date deathTime;
	/**死亡原因*/
	@Excel(name = "死亡原因", width = 15)
    @ApiModelProperty(value = "死亡原因")
    private java.lang.String deathReason;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
	/**创建者*/
    @ApiModelProperty(value = "创建者")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;



}
